home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / xaw / command.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  4KB  |  96 lines

  1. /* $XConsortium: Command.h,v 1.27 91/07/28 18:51:35 converse Exp $ */
  2.  
  3. /***********************************************************
  4. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  5. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  6.  
  7.                         All Rights Reserved
  8.  
  9. Permission to use, copy, modify, and distribute this software and its 
  10. documentation for any purpose and without fee is hereby granted, 
  11. provided that the above copyright notice appear in all copies and that
  12. both that copyright notice and this permission notice appear in 
  13. supporting documentation, and that the names of Digital or MIT not be
  14. used in advertising or publicity pertaining to distribution of the
  15. software without specific, written prior permission.  
  16.  
  17. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  19. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  20. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24.  
  25. ******************************************************************/
  26.  
  27. #ifndef _XawCommand_h
  28. #define _XawCommand_h
  29.  
  30. #include <X11/Xaw/Label.h>
  31.  
  32. /* Command widget resources:
  33.  
  34.  Name             Class        RepType        Default Value
  35.  ----             -----        -------        -------------
  36.  accelerators         Accelerators    AcceleratorTable NULL
  37.  ancestorSensitive   AncestorSensitive    Boolean        True
  38.  background         Background        Pixel        XtDefaultBackground
  39.  backgroundPixmap    Pixmap        Pixmap        XtUnspecifiedPixmap
  40.  bitmap             Pixmap        Pixmap        None
  41.  borderColor         BorderColor    Pixel        XtDefaultForeground
  42.  borderPixmap         Pixmap        Pixmap        XtUnspecifiedPixmap
  43.  borderWidth         BorderWidth    Dimension    1
  44.  callback         Callback        XtCallbackList    NULL
  45.  colormap         Colormap        Colormap    parent's colormap
  46.  cornerRoundPercent  CornerRoundPercent    Dimension    25
  47.  cursor             Cursor        Cursor        None
  48.  cursorName         Cursor        String        NULL
  49.  depth             Depth        int        parent's depth
  50.  destroyCallback     Callback        XtCallbackList    NULL
  51.  encoding         Encoding        UnsignedChar    XawTextEncoding8bit
  52.  font             Font        XFontStruct*    XtDefaultFont
  53.  foreground         Foreground        Pixel        XtDefaultForeground
  54.  height             Height        Dimension    text height
  55.  highlightThickness  Thickness        Dimension    0 if shaped, else 2
  56.  insensitiveBorder   Insensitive    Pixmap        Gray
  57.  internalHeight         Height        Dimension    2
  58.  internalWidth         Width        Dimension    4
  59.  justify         Justify        XtJustify    XtJustifyCenter
  60.  label             Label        String        NULL
  61.  leftBitmap         LeftBitmap        Pixmap        None
  62.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  63.  pointerColor         Foreground        Pixel        XtDefaultForeground
  64.  pointerColorBackground Background    Pixel        XtDefaultBackground
  65.  resize             Resize        Boolean        True
  66.  screen             Screen        Screen        parent's Screen
  67.  sensitive         Sensitive        Boolean        True
  68.  shapeStyle         ShapeStyle        ShapeStyle    Rectangle
  69.  translations         Translations    TranslationTable see doc or source
  70.  width             Width        Dimension    text width
  71.  x             Position        Position    0
  72.  y             Position        Position    0
  73.  
  74. */
  75.  
  76. #define XtNhighlightThickness "highlightThickness"
  77.  
  78. #define XtNshapeStyle "shapeStyle"
  79. #define XtCShapeStyle "ShapeStyle"
  80. #define XtRShapeStyle "ShapeStyle"
  81. #define XtNcornerRoundPercent "cornerRoundPercent"
  82. #define XtCCornerRoundPercent "CornerRoundPercent"
  83.  
  84. #define XawShapeRectangle XmuShapeRectangle
  85. #define XawShapeOval XmuShapeOval
  86. #define XawShapeEllipse XmuShapeEllipse
  87. #define XawShapeRoundedRectangle XmuShapeRoundedRectangle
  88.  
  89. extern WidgetClass     commandWidgetClass;
  90.  
  91. typedef struct _CommandClassRec   *CommandWidgetClass;
  92. typedef struct _CommandRec        *CommandWidget;
  93.  
  94. #endif /* _XawCommand_h */
  95. /* DON'T ADD STUFF AFTER THIS */
  96.